home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / QDDVX102.ZIP / contrib / dvx / inc / bsd.h next >
Text File  |  1993-07-15  |  520b  |  25 lines

  1.  
  2. #ifndef __BSD_H__
  3. #define __BSD_H__
  4.  
  5. #ifndef _CADDR_T_DEF_
  6. #define _CADDR_T_DEF_
  7. typedef char *        caddr_t;
  8. #endif
  9.  
  10. #if !defined(__GNUC__) && !defined(__SALFORD__)
  11. typedef unsigned short    u_short;
  12. typedef unsigned int    u_int;
  13. typedef unsigned char    u_char;
  14. typedef unsigned long    u_long;
  15.  
  16. typedef unsigned short  uid_t;
  17. typedef unsigned short  gid_t;
  18.  
  19. #define bcopy(a,b,c)        memcpy(b,a,c)
  20. #define bcmp(a,b,c)         memcmp(a,b,c)
  21. #define bzero(a,b)          memset(a,0,b)
  22. #endif
  23.  
  24. #endif /* __BSD_H__ */
  25.